package com.spic.business.alarm.config;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

public class ProjectConfig {
    @JSONField(ordinal = 1)
    private int projectId;

    @JSONField(ordinal = 2)
    private String projectName;

    @JSONField(ordinal = 3)
    private String company;

    @JSONField(ordinal = 4)
    private String companyNum;

    @JSONField(ordinal = 5)
    private String uploadType;

    @JSONField(ordinal = 6)
    private String host;

    @JSONField(ordinal = 7)
    private int port;

    @JSONField(ordinal = 8)
    private String userName;

    @JSONField(ordinal = 9)
    private String password;

    @JSONField(ordinal = 10)
    private String remoteDir;

    @JSONField(ordinal = 11)
    private boolean isUploadEmptyData;

    @JSONField(ordinal = 12)
    private List<Device> Devices;

    public void setProjectId(int projectId) {
        this.projectId = projectId;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public void setCompanyNum(String companyNum) {
        this.companyNum = companyNum;
    }

    public void setUploadType(String uploadType) {
        this.uploadType = uploadType;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setRemoteDir(String remoteDir) {
        this.remoteDir = remoteDir;
    }

    public void setUploadEmptyData(boolean isUploadEmptyData) {
        this.isUploadEmptyData = isUploadEmptyData;
    }

    public void setDevices(List<Device> Devices) {
        this.Devices = Devices;
    }


    public String toString() {
        return "ProjectConfig(projectId=" + getProjectId() + ", projectName=" + getProjectName() + ", company=" + getCompany() + ", companyNum=" + getCompanyNum() + ", uploadType=" + getUploadType() + ", host=" + getHost() + ", port=" + getPort() + ", userName=" + getUserName() + ", password=" + getPassword() + ", remoteDir=" + getRemoteDir() + ", isUploadEmptyData=" + isUploadEmptyData() + ", Devices=" + getDevices() + ")";
    }

    public int getProjectId() {
        return this.projectId;
    }

    public String getProjectName() {
        return this.projectName;
    }

    public String getCompany() {
        return this.company;
    }

    public String getCompanyNum() {
        return this.companyNum;
    }

    public String getUploadType() {
        return this.uploadType;
    }

    public String getHost() {
        return this.host;
    }

    public int getPort() {
        return this.port;
    }

    public String getUserName() {
        return this.userName;
    }

    public String getPassword() {
        return this.password;
    }

    public String getRemoteDir() {
        return this.remoteDir;
    }

    public boolean isUploadEmptyData() {
        return this.isUploadEmptyData;
    }

    public List<Device> getDevices() {
        return this.Devices;
    }
}

